﻿namespace Vibstudio.X4NET.Parsing
{
    /// <summary>
    /// Settings for Lex parser.
    /// </summary>
    public class LexSettings
    {
        /// <summary>
        /// Tokens used to enclose other tokens.
        /// </summary>
        public char[] QuotesChars = new char[] { '"', '\'' };


        /// <summary>
        /// Escape char
        /// </summary>
        public char EscapeChar = '\\';


        /// <summary>
        /// Chars used as white space.
        /// </summary>
        public char[] WhiteSpaceChars = new char[] { ' ', '\t' };


        /// <summary>
        /// New line tokens.
        /// </summary>
        public string[] EolChars = new string[] { "\n", "\r\n" };
    }
}